package com.csu.tour.service;

import com.csu.tour.entity.User;
import com.csu.tour.vo.UserVO;

import java.util.List;

public interface UserService {


    UserVO getUserByNameAndPassword(String username, String password);

    UserVO getUserByNamePasswordRole(String username, String password, String role);

    void addUser(UserVO userVO);

    int deleteUser(int id);

    int updateUser(User user);

    List<User> selectTourists(String role);
}
